package com.by.query;

import com.by.common.bean.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("供应商询价搜索条件")
public class SupplierProductEnquiryQuery extends PageQuery {
String code;


int status;
@ApiModelProperty(value = "供应商id", required = true)
        @NotNull(message = "供应商id不能为空")
        @Min(value = 1, message = "请输入正确的供应商id")
int sid;
}
